package cn.bluemobi.dylan.step.step.bean;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.enums.AssignType;

import java.sql.Time;
@Table("weights")
public class Weight {
    @PrimaryKey(AssignType.AUTO_INCREMENT)
    private int id;

    @Column("date")
    private String date;

    @Column("weight")
    private String weight;

    public  Weight(){

    }
    public Weight(int id, String date, String weight) {
        this.id = id;
        this.date = date;
        this.weight = weight;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Weight{" +
                "id=" + id +
                ", date='" + date + '\'' +
                ", weight='" + weight + '\'' +
                '}';
    }
}
